package com.hnx.admin.aurora.system.mapper.dict;

import com.hnx.admin.aurora.annotation.AddInfo;
import com.hnx.admin.aurora.annotation.DeleteInfo;
import com.hnx.admin.aurora.annotation.UpdateInfo;
import com.hnx.admin.aurora.system.domain.dto.dict.entity.DictTypeDTO;
import com.hnx.admin.aurora.system.domain.param.dict.form.DictTypeForm;
import com.hnx.admin.aurora.system.domain.param.dict.query.DictQuery;

import java.util.List;

public interface DictTypeMapper {
    List<DictTypeDTO> selectDictTypeList(DictQuery dictType);
    @AddInfo
    int insertDictType(DictTypeForm dict);

    DictTypeDTO selectDictTypeById(String dictId);

    List<DictTypeDTO> selectDictTypeAll();
    @DeleteInfo
    int deleteDictTypeById(String[] dictIds);
    @UpdateInfo
    int updateDictType(DictTypeForm dict);
}
